/** When your routing table is too long, you can split it into small modules**/

// 素材管理

import Layout from '@/views/layout/Layout'

const wxmpJiansanManage = {
  path: '/wxmpJiansanManage',
  component: Layout,
  alwaysShow: true,
  name: '外观管理',
  redirect: 'noredirect',
  meta: {
    title: '外观管理',
    icon: 'table',
    resources: 'wxmpJiansanManage'
  },
  children: [
    {
      path: 'jiansanObjList',
      component: () => import('@/views/wxmp/jiansan-manage/jiansan-obj-manage/jiansanObjList'),
      name: 'aa',
      meta: { title: '外观维护', icon: 'documentation', noCache: true, resources: 'jiansanObjList' }
    },
    {
      path: 'jiansanPriceList',
      component: () => import('@/views/wxmp/jiansan-manage/jiansan-price-manage/jiansanPriceList'),
      name: 'bb',
      meta: { title: '价格维护', icon: 'icon-news', noCache: true, resources: 'jiansanPriceList' }
    },
    {
      path: 'jiansanPriceList/:id(\\d+)',
      component: () => import('@/views/wxmp/jiansan-manage/jiansan-price-manage/jiansanPriceList'),
      name: 'cc',
      meta: { title: '价格维护', noCache: true, resources: 'jiansanPriceList' },
      hidden: true
    },
    {
      path: 'jiansanBaojiaList',
      component: () => import('@/views/wxmp/jiansan-manage/jiansan-baojia-manage/jiansanBaojiaList'),
      name: 'dd',
      meta: { title: '报价维护', icon: 'icon-news', noCache: true, resources: 'jiansanBaojiaList' },
    },
    {
      path: 'jiansanBaojiaList/:id(\\d+)',
      component: () => import('@/views/wxmp/jiansan-manage/jiansan-baojia-manage/jiansanBaojiaList'),
      name: 'ee',
      meta: { title: '报价维护', noCache: true, resources: 'jiansanBaojiaList' },
      hidden: true
    }
  ]
}

export default wxmpJiansanManage
